<div ng-controller="searchCtrl">
	<div class="container">
	<div class="row">
		<div class="col-md-6 col-md-offset-0">
			<div class="input-group">
				<div class="input-group-btn">
					<button type="button" class="btn btn-default btn btn-warning" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{currentCity.city_name}}<span class="caret"></span></button>
					<ul class="dropdown-menu">
						<li ng-repeat="item in citys"  ng-click="setCurrentCity(item)">{{item.city_name}}</li>
					</ul>
				</div>
				<input type="text" class="form-control" ng-model="textcont" value="textcont" ng-change="changetext(textcont)">
				<div class="input-group-addon " style="padding: 0px;background: #f4b21a;"><span class="glyphicon glyphicon-search " style="background: #f4b21a;width: 50px"></span></div>
			</div>
		</div>
	</div>
		<br>
<!--第二部分-->
		<div class="container">
			<div class="row">
				<div class="col-md-2 " style="width: 130px;font-weight: 700">类别:</div>
				<ul class="col-md-10 list-inline">
					<li ng-class="{'active':searchInfo.category_id==''}"
						ng-click="searchInfo.category_id='';getStadiums();">全部</li>
					<li
							ng-class="{'active':searchInfo.category_id==item.category_id}"
							ng-click="searchInfo.start=0; searchInfo.category_id=item.category_id;getStadiums();"
							ng-repeat="item in searchOptions.categories">{{item.category_name}}</li>
				</ul>
			</div>
		</div>

		<div class="container">
			<div class="row">
				<div class="col-md-2 " style="width: 130px;font-weight: 700">区域:</div>
				<ul class="col-md-10 list-inline">
					<li ng-class="{'active':searchInfo.category_id==''}"
					ng-click="searchInfo.category_id='';getStadiums();">全部</li>
					<li     ng-class="{'active':searchInfo.category_id==item.category_id}"
							ng-click="searchInfo.category_id=item.category_id;getStadiums();"
							ng-repeat="item in searchOptions.city_districts[0].districts">{{item.district_name}}</li>
				</ul>
			</div>
		</div>


    <div class="container">
		<div class="row">
			<div class="col-md-2 " style="width: 130px;font-weight: 700">商圈:</div>
				<ul class="col-md-10 list-inline">
					<li ng-class="{'active':searchInfo.category_id==''}"
						ng-click="searchInfo.category_id='';getStadiums();">全部</li>
					<li    ng-class="{'active':searchInfo.category_id==item.category_id}"
						   ng-click="searchInfo.category_id=item.category_id;getStadiums();"
							ng-repeat="item in searchOptions.city_cbds[0].cbds">{{item.cbd_name}}</li>
				</ul>
		</div>
	</div>

		<div class="container">
			<div class="row">
				<div class="col-md-2 " style="width: 130px;font-weight: 700">特色筛选:</div>
				<ul class="col-md-10 list-inline">
					<li ng-class="{'active':searchInfo.category_id==''}"
						ng-click="searchInfo.category_id='';getStadiums();">全部</li>
					<li     ng-class="{'active':searchInfo.category_id==item.category_id}"
							ng-click="searchInfo.category_id=item.category_id;getStadiums();"
							ng-repeat="item in searchOptions.facilitys">{{item.facility_name}}</li>
				</ul>
			</div>
		</div>
		<br>
<!--第三部分-->
		<div class="container">
			<div class="row">
				<div class="col-sm-6 col-md-4" ng-repeat="item in stadiums " >
					<div class="thumbnail">
						<img src="{{item.photo}}" alt="...">
						<div class="caption">
							<h6>{{item.name}}</h6>
							<p class="start"><img  src="http://www.1yd.me/images/new/xxz.png" alt=""></p>
							<p class="plogo">
								<img src="http://www.1yd.me/images/new/WIFI.png" alt="">
								<img src="http://www.1yd.me/images/new/bath.png" alt="">
								<img src="http://www.1yd.me/images/new/park.png" alt="">
								<img src="http://www.1yd.me/images/new/fitting.png" alt="">
								<img src="http://www.1yd.me/images/new/kit.png" alt="">
							</p>
							<span class="price1">￥{{item.min_price}}</span>
							<p> <a href="#/stadiums/{{item.id}}" class="btn btn-default quick" >快速预定</a></p>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="container">
			<div class="row">
				<div class="col-md-2 col-md-offset-5" >
					<button class="btn btn-block btn-default" ng-click="loadmovestadium()">加载更多</button>
				</div>
			</div>
		</div>
     <p></p>
</div>

